package demo.day08.work_Bank;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/7/26-07-26-20:13
 * @Description：demo.day08.work_Bank
 */
//测试类
public class Driver {
    public static void main(String[] args) {
        Track myTrack = new Track() ;
        myTrack.setTitle("Watching The Wheels") ;
        Duration myDuration = new Duration(234) ;
//Duration myDuration = new Duration(0, 3, 54) ;
        myTrack.setDuration(myDuration) ;
        System.out.println("myTrack is : " + myTrack) ;
        System.out.println("Title = " + myTrack.getTitle()) ;
        System.out.println("Duration = " + myTrack.getDuration().toString()) ; }
}